package controller.listeners.posprocessingFrg;

import model.PosProcessingForeignsModel;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Listener;
import view.PosProcessingForeignsView;

public class RPsSelectionListener implements Listener {


	private PosProcessingForeignsView _view;
	private PosProcessingForeignsModel _model;
	
			public RPsSelectionListener(PosProcessingForeignsView view,
					PosProcessingForeignsModel model) {
				this._model = model;
				this._view = view;
			}
			
			@Override
			public void handleEvent(Event event) {
				 
				_model.set_selected_rp(_view.getSelectedRPCorp());
				
							
			}
		}